<?xml version="1.0" encoding="UTF-8" ?>

<!-- One XSLT that use HTML + CSS to display all the relevant information about the games of a specific week, 
with a parameter that identify the requested week. -->

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
	<xsl:output method="xml" indent="yes"/>
	<xsl:strip-space elements="*"/>
	
	<xsl:template match="/">
		<xsl:processing-instruction name="xml-stylesheet">type="text/xsl" href="xslt/fixtures_page.xslt"</xsl:processing-instruction>
		
		<league_fixtures>
			
		<xsl:for-each select="league/fixtures">
			<xsl:variable name="fixtureId" select="@id"/>
			<fixture>
					<xsl:attribute name="id"><xsl:value-of select="$fixtureId"/></xsl:attribute>				
				
			</fixture>
		</xsl:for-each>
		
		
		</league_fixtures>
	</xsl:template>



</xsl:stylesheet>
